"""
单引号和双引号字符串的使用方法
"""
str1 = 'abc'
str2 = "123"
str3 = "my name is 'Tom'"
str4 = 'he is "student"'
# str5 = 'I'm is ''   # 单引号内部不能存在单引号
str5 = 'I\'m is teacher'   # 单引号里面加入转义符
str6 = "boy and \n girl"   # \n 换行符
str7 = "1234 \r 7890"      # \r 删除功能，退格
print(str1)
print(str2)
print(str3)
print(str4)
print(str5)
print(str6)
print(str7)
